import store from '../store'
//修改loading状态
export function setLOADING(state={}){
    let loading_config = JSON.parse(JSON.stringify(store.getters.loading_config));
    let new_config = Object.assign(loading_config,state);
    store.dispatch('setLOADING',new_config);
}
export function getLOADING(state={}){
    let loading_config = JSON.parse(JSON.stringify(store.getters.loading_config));
    let new_config = Object.assign(loading_config,state);
    return new_config;
}
